package com.usian.model.search.utils;

/**
 * ClassName: TrieNode
 * Author:   WGG
 * Date:    2022-12-2022/12/11-9:10
 * Version: 1.0
 * Description:
 */
import java.util.HashMap;
import java.util.Map;

public class TrieNode {
    public char var;
    public boolean isWord;
    public Map<Character,TrieNode> children = new HashMap<>();
    public boolean containLongTail = false;
    public TrieNode(){}
    public TrieNode(char c){
        TrieNode node = new TrieNode();
        node.var = c;
    }
}